import storage from '@/utils/storage'
import constant from '@/utils/constant'
const goods = {
    state: {
        navlist: storage.get(constant.navlist)
    },
    mutations: {
        SET_NAVLIST: (state, navlist) => {
            state.navlist = navlist
            storage.set(constant.navlist, navlist)
        },
    }

}

export default goods